home *** CD-ROM | disk | FTP | other *** search
- ELF_GETARHDR(3E) Last changed: 10-13-98
-
-
- NNAAMMEE
- eellff__ggeettaarrhhddrr - Retrieves archive member header
-
- SSYYNNOOPPSSIISS
- cccc [_f_l_a_g ...] _f_i_l_e ... --lleellff [_l_i_b_r_a_r_y ...]
-
- ##iinncclluuddee <<lliibbeellff..hh>>
-
- EEllff__AArrhhddrr **eellff__ggeettaarrhhddrr((EEllff **eellff));;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- eellff__ggeettaarrhhddrr returns a pointer to an archive member header, if one is
- available for the ELF descriptor, eellff. If no archive member header
- exists, an error occurred, or eellff was null, eellff__ggeettaarrhhddrr returns a
- null value. The header includes the following members:
-
- cchhaarr **aarr__nnaammee;;
-
- ttiimmee__tt aarr__ddaattee;;
-
- lloonngg aarr__uuiidd;;
-
- lloonngg aarr__ggiidd;;
-
- uunnssiiggnneedd lloonngg aarr__mmooddee;;
-
- ooffff__tt aarr__ssiizzee;;
-
- cchhaarr **aarr__rraawwnnaammee;;
-
- An archive member name, available through aarr__nnaammee, is a null-
- terminated string, with the aarr format control characters removed. The
- aarr__rraawwnnaammee member holds a null-terminated string that represents the
- original name bytes in the file, including the terminating slash and
- trailing blanks as specified in the archive format.
-
- In addition to regular archive members, the archive format defines
- some special members. All special member names begin with a slash
- (//), distinguishing them from regular members (whose names may not
- contain a slash). The following are definitions of special member
- names (aarr__nnaammee):
-
- // This is the archive symbol table. If present, it will be the
- first archive member. A program may access the archive symbol
- table through eellff__ggeettaarrssyymm. The information in the symbol
- table is useful for random archive processing [see
- eellff__rraanndd(3E)].
-
- //// This member holds a string table for long archive member
- names. An archive member's header contains a 16-byte area for
- the name, which may be exceeded in some file systems. The
- library automatically retrieves long member names from the
- string table, setting aarr__nnaammee to the appropriate value.
-
- Under some error conditions, a member's name might not be available.
- Although this causes the library to set aarr__nnaammee to a null pointer, the
- aarr__rraawwnnaammee member will be set as usual.
-
- SSEEEE AALLSSOO
- eellff(3E), eellff__bbeeggiinn(3E), eellff__ggeettaarrssyymm(3E), eellff__rraanndd(3E), aarr(4)
-
- This man page is available only online.
-
-